package com.hhkj.study.admin.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BizBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
*
* @author SERVER
* @since 2024-09-06
*/
@TableName(value = "x_order_invoice")
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderInvoice extends BizBaseEntity {

	/**
	 * 订单id,x_order表中id
	*/
	private Long orderId;
	/**
	 * 用户id,x_user表中id
	*/
	private Long userId;
	/**
	 * 订单号
	*/
	private String orderNo;
	/**
	 * 发票编号
	*/
	private String oinvoiceNo;
	/**
	 * 发票状态0-未开票1-开票中2-已开票3-已作废
	*/
	private Integer invoiceStatus;
	/**
	 * 发票类型1-个人2-企业
	*/
	private Integer type;
	/**
	 * 发票抬头
	*/
	private String invoiceName;
	/**
	 * 纳税人识别码
	*/
	private String taxNum;
	/**
	 * 金额
	*/
	private Double amount;
	/**
	 * 发票内容
	*/
	private String content;
	/**
	 * 申请时间
	*/
	private Date applyTime;
	/**
	 * 开票时间
	*/
	private Date invoicingTime;

}